/**
 * models_config.js
 * 前端模型统一配置入口
 */

// 直接引用模型文件
const BaseModel = require('../store/model/base_model');
const UserModel = require('../store/model/user_model');
const ProjectModel = require('../store/model/project_model');
const TaskModel = require('../store/model/task_model');
const TeamMemberModel = require('../store/model/team_member_model');
const StatisticsModel = require('../store/model/statistics_model');
const DocumentModel = require('../store/model/document_model');
const ProjectFeedbackModel = require('../store/model/project_feedback_model');

// 移除PLM项目模型导入，避免循环依赖问题

module.exports = {
    // 导出基础模型类
    BaseModel,

    // 导出各个具体模型
    UserModel,
    ProjectModel,
    TaskModel,
    TeamMemberModel,
    StatisticsModel,
    DocumentModel,
    ProjectFeedbackModel,
    
    // 快捷访问（兼容旧代码）
    user_model: UserModel,
    project_model: ProjectModel,
    task_model: TaskModel,
    team_model: TeamMemberModel,
    statistics_model: StatisticsModel,
    document_model: DocumentModel,
    project_feedback_model: ProjectFeedbackModel
}; 